package com.zl.pro.service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zl.pro.mapper.PersonalAssetsMapper;
import com.zl.pro.pojo.PersonalAssets;
import com.zl.pro.service.PersonalAssetsService;

@Service
public class PersonalAssetsServiceImpl implements PersonalAssetsService {
	
	@Autowired
	PersonalAssetsMapper personalAssetsMapper;

	@Override
	public List<PersonalAssets> findPersonalAssets(Long userid) {
		// TODO Auto-generated method stub
		return personalAssetsMapper.findPersonalAssets(userid);
	}
	
	//添加个人资产
	@Override
	public void addPersonalAssets(PersonalAssets personalAssets) {
		// TODO Auto-generated method stub
		personalAssetsMapper.addPersonalAssets(personalAssets);
	}

	
}
